package com.lanqiao.entity;

import java.util.List;

public class TypeInfo {

	private int type_id;				//分类ID
	private String type_name;			//分类名称
	private int parent_id;
	private List<TypeInfo> childList;	//子分类列表

	public int getType_id() {
		return type_id;
	}
	public void setType_id(int type_id) {
		this.type_id = type_id;
	}
	public String getType_name() {
		return type_name;
	}
	public void setType_name(String type_name) {
		this.type_name = type_name;
	}
	public int getParent_id() {
		return parent_id;
	}
	public void setParent_id(int parent_id) {
		this.parent_id = parent_id;
	}
	public List<TypeInfo> getChildList() {
		return childList;
	}
	public void setChildList(List<TypeInfo> childList) {
		this.childList = childList;
	}

	@Override
	public String toString() {
		return "TypeInfo [type_id=" + type_id + ", type_name=" + type_name
				+ ", parent_id=" + parent_id + "]";
	}



}
